import pytest
import os
import logging

if __name__ == '__main__':
    # 报告
    # 日志
    logging.basicConfig(level=logging.DEBUG,filename='A3mall.log',filemode='w+',format='%(levelname)s %(funcName)s %(message)s %(lineno)d')
    # 邮件